﻿using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp.Application.Dtos;

namespace AdminManager.System.NavigationsMenu
{
    public class NavigationsDto:EntityDto<Guid>
    {
        /// <summary>
        /// 类型
        /// </summary>
        public NavigationTypeEnums Type { get; set; }
        /// <summary>
        /// 菜单名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 父类id
        /// </summary>
        public string ParentId { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }
        /// <summary>
        /// 图标
        /// </summary>
        public string Icon { get; set; }
        /// <summary>
        /// 路由名称
        /// </summary>
        public string RouterName { get; set; }
        /// <summary>
        /// 路由地址: 类型为目录是非必填项
        /// </summary>
        public string? RouterPath { get; set; }
        /// <summary>
        /// 组件地址: 类型为目录是非必填项
        /// </summary>
        public string? ComponentPath { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsState { get; set; }
        ///// <summary>
        ///// 是否外链
        ///// </summary>
        //public bool IsUrl { get; set; }
        ///// <summary>
        ///// 是否缓存
        ///// </summary>
        //public bool IsKeepalive { get; set; }
        public DateTime CreationTime { get; set; }
        public string Actions { get; set; }
        /// <summary>
        /// 重定向
        /// </summary>
        public string Redirect { get; set; }
    }
}
